# %%
#Import modules
import numpy as np
import functions_wave_general as wg

#Choose experiment ID, see the list of experiments for the range of selection
expIDs = ['2021-06-16_lambda_400nguL_1_200_optosplit_DAY AFTER'] 

#Pressure value(s) to run
pressures = np.array([25,1000]) 

#Magnification to run, select between 4x, 10x, 20x and 100x
mags = ['10x']

#Set mode
settings_general = wg.get_default_settings_general(mode = 'polarization', mode_pixelation='dead_zone', hsv_mode='pixelated')

#General Settings Dictionary
settings_general['frame_range'] = range(0, 100)
settings_general['show_imgs'] = True
settings_general['save_imgs'] = True
settings_general['open_saved_file_dir_after_script'] = True

#Dictionary for specific settings
dict_parameters_fun_specific = {
    'n_frames_limit': 500,
    'prefix': 'dz_pix_compressed',
    'sub_string': '0-0',
    'p_range': (-0.2,0.2)
}

#Run function
_ = wg.iterate_exp_list(settings_general, expIDs, dict_parameters_fun_specific, pressures=pressures, mags=mags,func='hsv_image_generation')



# %%
